home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3group.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_GROUP_H = 1;
- include("real/objects/r3prim.js")
-
-
- var R3CLID_GROUP = 1403;
-
-
-
-
- // Description: Group changed, update target points accordingly
-
- R3GROUPM_UPDATETARGETS = 1403001;
-
- function mR3GROUPM_UPDATETARGETS() {
- DoA(this.r3obj, 1403001, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Invert group references - a referred point becomes unreferred and vise versa.
-
- R3GROUPM_INVERTREFERENCES = 1403002;
-
- function mR3GROUPM_INVERTREFERENCES() {
- DoA(this.r3obj, 1403002, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Apply XOR boolean operation between referred points. as a result, mutually referred points are
- // removed from the given sub groups.
- // p3: Object, array of groups
-
- R3GROUPM_XOR = 1403003;
-
- function mR3GROUPM_XOR(p3) {
- DoA(this.r3obj, 1403003, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Enumerate target points. Calls the given hook: int hook(R3OBJ *target, R3INT point_index, void *data);
- // Returns: Boolean, true if all points were enumarated
- // p3: Tag[], R3RA_Hook, R3RA_HookData,
-
- R3GROUPM_ENUMTARGETPOINTS = 1403004;
-
- function mR3GROUPM_ENUMTARGETPOINTS(p3) {
- return Do(this.r3obj, 1403004, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
-
-
-
- R3GROUPA_PointCount = 1403501;
- function SetR3GROUPA_PointCount(value) {
- R3Set(this.r3obj, R3GROUPA_PointCount, value, R3TID_INTEGER, 0);
- }
-
- function GetR3GROUPA_PointCount() {
- return R3Get(this.r3obj, R3GROUPA_PointCount, R3TID_INTEGER, 0);
- }
-
- var R3GRHT_VERTEX = 0;
-
-
- function r3Group () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_GROUP, arguments);
- }
- // Methods
- this.UPDATETARGETS=mR3GROUPM_UPDATETARGETS;
- this.INVERTREFERENCES=mR3GROUPM_INVERTREFERENCES;
- this.XOR=mR3GROUPM_XOR;
- this.ENUMTARGETPOINTS=mR3GROUPM_ENUMTARGETPOINTS;
-
- // Attributes
- this.GetPointCount=GetR3GROUPA_PointCount;
- this.SetPointCount=SetR3GROUPA_PointCount;
- }
-
- r3Group.prototype=new r3Primitive;
- // r3group.h_H